class CreateProcessos < ActiveRecord::Migration
  def self.up
    create_table :processos do |t|
      t.column :codigo, :string
      t.column :cod_mp, :string
      t.column :instancia, :string
      t.column :tipo, :string
      t.column :matriz, :boolean
      t.column :data_entrada, :date
      t.column :created_at, :datetime
    end
  end

  def self.down
    drop_table :processos
  end
end
